package com.fmdj.mps.service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface DriverPositionService {

    void updatePositionCache(Map map);

    void removePositionCache(long driverId);

    //查找附近符合接单要求的司机
    ArrayList  selectBefittingDriverAboutOrder(double startPlaceLatitude,
                                               double startPlaceLongitude,
                                               double endPlaceLatitude,
                                               double endPlaceLongitude,
                                               double mileage);

    void updateOrderPositionCache(Map map);

    HashMap searchOrderPositionCache(long orderId);
}
